package gist;

public class CoverToString {
	private String userName;
	private Integer userAge;
	private String userSex;

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Integer getUserAge() {
		return userAge;
	}

	public void setUserAge(Integer userAge) {
		this.userAge = userAge;
	}

	public String getUserSex() {
		return userSex;
	}

	public void setUserSex(String userSex) {
		this.userSex = userSex;
	}

	@Override
	public String toString() {
		return String.format("%s.name=%s,userAge=%s", this.getClass(),
				userName, userAge);
	}

	public static void main(String[] args) {
		CoverToString coverToString = new CoverToString();
		coverToString.setUserName("张三");
		System.out.println(coverToString);
	}
}
